#include "widget.h"
#include "ui_widget.h"
#include <QWKWidgets/widgetwindowagent.h>
#include <QMaterialWidgets/qtmaterialraisedbutton.h>

Widget::Widget(QWidget *parent)
    : QWKMainWindow(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(centralWidget());
    setWindowIcon(QIcon(":/images/favicon.png"));
    setWindowTitle("我爱你のHeart");
    QtMaterialRaisedButton* btn = new QtMaterialRaisedButton("Button", this);
    btn->setHaloVisible(false);
    btn->setRole(Material::Primary);
    btn->move(100, 100);
}

Widget::~Widget()
{
    delete ui;
}

